# $OpenBSD: Makefile,v 1.2 2015/12/03 21:24:31 sthen Exp $

COMMENT=	access system SSL certificate bundle from Perl

MODULES=	perl

DISTNAME=	Mozilla-CA-Fake-20140330
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	security

# PD
PERMIT_PACKAGE_CDROM=	Yes

MASTER_SITES=	https://spacehopper.org/mirrors/

NO_TEST=	Yes

do-build:
	pod2man --name 'Mozilla::CA' --section 3p ${WRKSRC}/CA.pm \
	    ${WRKSRC}/Mozilla::CA.3p

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/${P5SITE}/Mozilla/
	${INSTALL_DATA} ${WRKSRC}/CA.pm ${PREFIX}/${P5SITE}/Mozilla/CA.pm
	${INSTALL_MAN_DIR} ${PREFIX}/man/man3p/
	${INSTALL_MAN} ${WRKSRC}/Mozilla::CA.3p ${PREFIX}/man/man3p/

.include <bsd.port.mk>
